home *** CD-ROM | disk | FTP | other *** search
- -- card: 14376 from stack: in.6
- -- bmap block id: 14802
- -- flags: 0000
- -- background id: 2598
- -- name: News Sisèllys
- ----- HyperTalk script -----
- on opencard
- click at location of card button id 24
- end opencard
-
-
-
-
- -- part 2 (field)
- -- low flags: 03
- -- high flags: 6007
- -- rect: left=8 top=71 right=337 bottom=505
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 0
- -- font id: 4
- -- text size: 9
- -- style flags: 0
- -- line height: 12
- -- part name: Field 1
- ----- HyperTalk script -----
- on mouseUp
- get clickLine()
- put it into linenumber
- select line linenumber of card field 1
- put space into card field "UserMessage"
- global CommStorage
- put false into OK
- --put line linenumber of card field 1
- get first character of line linenumber of card field 1
- if it is " " then
- put true into OK
- end if
- put first word of line linenumber of card field 1 into MailNumber
- if OK then
- go card "rn"
- put "Current letter is " & MailNumber into card field "UserMessage"
- global NewsState
- openascii
- writeascii MailNumber & return
- put space into card field 1
- displayscreen "dis","--more--("
- closeascii
- NewsStateDef
- else
- put "Se ei ole kirjeen otsikkorivi." into card field "UserMessage"
- end if
- end mouseUp
-
-
-
-
-
- -- part 3 (field)
- -- low flags: 01
- -- high flags: 0002
- -- rect: left=424 top=23 right=37 bottom=511
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 4
- -- text size: 9
- -- style flags: 0
- -- line height: 12
- -- part name: LineCount
-
-
- -- part 4 (button)
- -- low flags: 00
- -- high flags: A004
- -- rect: left=11 top=37 right=55 bottom=122
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Next Letter
- ----- HyperTalk script -----
- on mouseUp
- go card "rn"
- openascii
- writeascii "n"
- put space into card field 1
- displayscreen "dis","--more--("
- closeascii
- send NewsStateDef to card "rn"
-
- end mouseUp
-
-
-
- -- part 5 (button)
- -- low flags: 80
- -- high flags: 8003
- -- rect: left=12 top=57 right=75 bottom=115
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Next page
- ----- HyperTalk script -----
- on mouseUp
- openascii
- writeascii " "
- put space into card field 1
- displayscreen "dis"
- NewsStateDef
- closeascii
- end mouseUp
-
-
-
- -- part 7 (button)
- -- low flags: 00
- -- high flags: A004
- -- rect: left=322 top=55 right=72 bottom=511
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Quit News
- ----- HyperTalk script -----
- on mouseUp
- openascii
- writeascii "q"
- wait 1 sec
- writeascii "q"
- wait 1 sec
- writeascii "q" & return
- displayscreen "dis"
- go card "News"
- closeascii
- end mouseUp
-
-
-
- -- part 8 (field)
- -- low flags: 01
- -- high flags: 2000
- -- rect: left=398 top=220 right=294 bottom=488
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 0
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: UserMessage
-
-
- -- part 9 (button)
- -- low flags: 80
- -- high flags: A003
- -- rect: left=58 top=57 right=74 bottom=164
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Read this list
- ----- HyperTalk script -----
- on mouseUp
- openascii
- writeascii "y"
- put space into card field 1
- displayscreen "dis"
- NewsStateDef
- closeascii
- end mouseUp
-
-
-
- -- part 10 (button)
- -- low flags: 80
- -- high flags: A003
- -- rect: left=57 top=20 right=39 bottom=165
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Next list
- ----- HyperTalk script -----
- on mouseup
- openascii
- writeascii "n"
- put space into card field 1
- displayscreen "dis"
- NewsStateDef
- closeascii
- end mouseup
-
-
-
- -- part 12 (button)
- -- low flags: 80
- -- high flags: A003
- -- rect: left=58 top=39 right=57 bottom=163
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Previous list
- ----- HyperTalk script -----
- on mouseup
- openascii
- writeascii "p"
- put space into card field 1
- displayscreen "dis"
- NewsStateDef
- closeascii
- end mouseup
-
-
-
- -- part 16 (button)
- -- low flags: 00
- -- high flags: A004
- -- rect: left=124 top=55 right=73 bottom=321
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Get again number ...
- ----- HyperTalk script -----
- on mouseup
- go card "rn"
- send mouseup to card button id 16 of card "rn"
- end mouseup
-
-
-
- -- part 22 (button)
- -- low flags: 00
- -- high flags: A004
- -- rect: left=345 top=326 right=342 bottom=432
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Speak Text
- ----- HyperTalk script -----
- on mouseUp
- ReadField1
- end mouseUp
-
-
-
- -- part 23 (button)
- -- low flags: 00
- -- high flags: A004
- -- rect: left=433 top=326 right=342 bottom=482
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: PANIC
- ----- HyperTalk script -----
- on mouseup
- PANIC
- end mouseup
-
-
-
- -- part 24 (button)
- -- low flags: 00
- -- high flags: A004
- -- rect: left=322 top=37 right=55 bottom=511
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Subjects of the list
- ----- HyperTalk script -----
- on mouseUp
- go card "News Sisällys"
- get card field "Listan Nimi" of card "rn"
- if it is card field "Listan Nimi" of this card then
- exit mouseup
- end if
- put card field "listan nimi" of card "rn" into card field "Listan Nimi" of this card
- openascii
- writeascii "="
- put space into card field 1
- put false into OK
- repeat until OK
- displayscreen "dis","[Type space to continue]"
- if "[Type space to continue]" is in card field 1 then
- get offset("[Type space to continue]",card field 1)
- put empty into char it to it+24 of card field 1
- put false into OK
- writeascii " "
- else
- put true into OK
- end if
- end repeat
- closeascii
- end mouseUp
-
-
-
- -- part 25 (button)
- -- low flags: 00
- -- high flags: A004
- -- rect: left=124 top=37 right=55 bottom=321
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Mark list as read
- ----- HyperTalk script -----
- on mouseUp
- go card "rn"
- send mouseup to card button id 25 of card "rn"
- end mouseUp
-
-
-
- -- part 26 (field)
- -- low flags: 01
- -- high flags: 2000
- -- rect: left=385 top=102 right=221 bottom=488
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 0
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name:
-
-
- -- part 27 (field)
- -- low flags: 00
- -- high flags: 0002
- -- rect: left=11 top=23 right=37 bottom=422
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 3
- -- text size: 9
- -- style flags: 256
- -- line height: 12
- -- part name: Listan nimi
-
-
- -- part 29 (button)
- -- low flags: 00
- -- high flags: A004
- -- rect: left=11 top=54 right=71 bottom=122
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Next list
- ----- HyperTalk script -----
- on mouseUp
- go card "rn"
- openascii
- writeascii "q"
- put space into card field 1
- displayscreen "dis","--read now?"
- closeascii
- send NewsStateDef to card "rn"
-
- end mouseUp
-
-
-
- -- part contents for card part 3
- ----- text -----
- Lines 2
-
- -- part contents for card part 8
- ----- text -----
-
-
- -- part contents for card part 26
- ----- text -----
- Osoita kirjettä, jonka haluat lukea.
- Point at letter You want to read.
-
- -- part contents for card part 27
- ----- text -----
- <comp.dcom.lans>
-
- -- part contents for card part 2
- ----- text -----
-
- [K33